    <div class="container">
        <div class="line-big">
            <div class="xb9 xm8">
                <div class="panel dux-box dux-cell">
                    <div class="panel-head clearfix">
                        <ul class="bread">
                            <!--loop{$crumb as $vo}-->
                              <li><a href="{$vo.url}">{$vo.name}</a></li>
                            <!--{/loop}-->
                        </ul>
                    </div>
                    <div class="panel-body border-top">
                        <div class="tab">
                            <div class="tab-head">
                                <ul class="tab-nav">
                                    <li><a href="{url('index')}">基本资料</a>
                                    </li>
                                    <li class="active"><a href="{url('avatar')}">修改头像</a>
                                    </li>
                                </ul>
                            </div>
                            <div class="tab-body"></div>
                        </div>
                        <form method="post" class="form-x  form-auto" action="{url()}" enctype="multipart/form-data">
                            <div class="form-group">
                                <div class="label">头像</div>
                                <div class="field">
                                    <img class="avatar" src="{target('forum/User')->avatar($loginUserInfo['user_id'])}" alt="{$vo.username}">
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="label">头像上传</div>
                                <div class="field">
                                  <a class="button input-file" href="javascript:void(0);">
                                    + 选择头像
                                    <input size="100" id="avatar" name="avatar" data-validate="required:请选择文件,regexp#.+.(jpg|jpeg|png|gif)$:只能上传jpg|gif|png格式文件" type="file" />
                                  </a>
                                </div>
                              </div>
                            <div class="form-button">
                                <button class="button bg-main" type="submit">保存</button>
                            </div>
                        </form>
                    </div>
                </div>
                <br>
            </div>
            <div class="xb3 xm4 text-small dux-sidebar">
                <?php $__Template->display('app/forum/view/common/sidebar'); ?>
            </div>
        </div>
    </div>